package com.itheima.commons.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Auther: alongchan
 * @Date: 2021/12/19 17:13
 * @Description: messageVo对象
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MessageVo implements Serializable {
    private String id;
    private String nickname;
    private Integer userId;
    private String userLogo;
    private Integer createDate;
    private String text;
    private String state;
    private Integer reportCount;
    private Integer likeCount;
    private Integer commentCount;
    private Integer forwardingCount;
    private String[] medias;
    private Integer topState;


    public MessageVo(String id, String nickname, Integer userId, String userLogo, Integer createDate, String text, String state, Integer reportCount, Integer likeCount, Integer commentCount, Integer forwardingCount, String[] medias) {
        this.id = id;
        this.nickname = nickname;
        this.userId = userId;
        this.userLogo = userLogo;
        this.createDate = createDate;
        this.text = text;
        this.state = state;
        this.reportCount = reportCount;
        this.likeCount = likeCount;
        this.commentCount = commentCount;
        this.forwardingCount = forwardingCount;
        this.medias = medias;
    }


}
